body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    margin: 0;
    padding: 0;
}

#post-container {
    max-width: 800px;
    margin: 20px auto;
    background-color: white;
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

#post-title {
    font-size: 24px;
    margin-bottom: 10px;
    color: #333;
}

#post-author {
    font-size: 16px;
    color: #555;
    margin-bottom: 10px;
}

#post-content {
    font-size: 16px;
    margin-bottom: 20px;
    line-height: 1.6;
}

#interaction-counts {
    font-size: 14px;
    color: #888;
    margin-bottom: 20px;
}

#interaction-counts span {
    margin-right: 20px;
}

#comments-container {
    margin-top: 20px;
    border-top: 1px solid #ddd;
    padding-top: 20px;
}

#comments-container h2 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #333;
}

.comment {
    margin-bottom: 10px;
    padding: 10px;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.comment-author {
    font-weight: bold;
    color: #333;
}

.comment-text {
    margin-top: 5px;
    color: #555;
}

.add-comment {
    margin-top: 20px;
}

.add-comment input, .add-comment textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

.add-comment button {
    padding: 10px 20px;
    border: none;
    background-color: #007BFF;
    color: white;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.add-comment button:hover {
    background-color: #0056b3;
}

/* 添加一些悬停效果 */
#comments-container div:hover {
    background-color: #f0f0f0;
}

/* 为评论中的用户名添加样式 */
#comments-container div span:first-child {
    font-weight: bold;
    color: #4CAF50;
}

img{
    max-width: 200px;
    max-height: 150px;
}